package com.ruoyi.common.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author: zhangzhe
 * @Date: 2023/10/30
 */
@Data
public class GetMyUserPatrolRiverReq {

    @ApiModelProperty("是否完成0：未完成，1：完成；2：暂停，不传查全部")
    private Integer finish;

    @ApiModelProperty("1:河长巡河,2:智慧巡河,不传查全部")
    private Integer type;

    @ApiModelProperty("参数：yyyy-MM-dd不传默认全部")
    private Date startTime;

    @ApiModelProperty("参数：yyyy-MM-dd不传默认全部")
    private Date endTime;

    @ApiModelProperty("关键字,不传默认全部")
    private String name;

    @NotNull(message = "页码不能为空")
    @ApiModelProperty(value = "第几页", required = true)
    private Integer pageNum;

    @NotNull(message = "页数不能为空")
    @ApiModelProperty(value = "每页显示数量", required = true)
    private Integer pageSize;


}
